public class Car {
    private String brand;
    private String model;
    private int year;
    private String city;

    public void setBrand(String brand){
        this.brand=brand;
    }

    public String getMode(){
        return model;
    }
    public void setModel(String model){
        this.brand=brand;
    }
    public void getYear(int year){
        this.year=year;
    }
    public String getcity(){
        return city;
    }
    public void setCity(String city){
        this.city=city;
    }


}

